<%@page contentType="text/html; charset=UTF-8" %>
<%@page import="com.sq.partner.manager.mybatis.model.FacadeNewPayment" %>
<html>
<head>
    <title>支付请求接口</title>
    <meta http-equiv="pragma" content="no-cache"/>

</head>
<body onload="loginExchange()">
跳转中....
</body>
</html>SettleMode
<script>
    function loginExchange() {
        var url = "${payUrl}";
        var transSource = "${transSource}";
        var transDate = "${transDate}";
        var transTime = "${transTime}";
        var transSeq = "${transSeq}";
        var version = "1";
        var rdSeq = "${newPayment.rdSeq}";
        var paymentCode = "${newPayment.paymentCode}";
        var settleMode = "";
        var applyEntity = "${newPayment.applyEntity}";
        var cur = "CNY";
        var ourAmount = "${newPayment.amount}";
        var fixUser = "${fixUser}";
        var cellPhone = "";
        var insurer = "";
        var insured = "";
        var insuranceType = "";
        var expireDate = "${expiredate}";
        var purpose = "";
        var memo = "";
        var description = "${newPayment.title}";
        var sourceNotecode = "";
        var returnURL = "${returnURL}";
        var notifyURL = "${notifyURL}";
        var circPaymentNo ="";
        var insureAreaCode = "";
        var S3Sign = "${S3Sign}";
        var reqReserved1 = "";
        var reqReserved2 = "";
        var reqReserved3 = "";
        var reqReserved4 = "";
        var reqReserved5 = "";
       
        var p = {
        		TransSource: transSource,
        	TransDate: transDate,
        	TransTime: transTime,
        	TransSeq: transSeq,
        	Version: version,
        	RdSeq: rdSeq,
        	PaymentCode: paymentCode,
        	SettleMode: settleMode,
        	ApplyEntity: applyEntity,
        	Cur: cur,
        	OurAmount: ourAmount,
        	FixUser: fixUser,
        	CellPhone: cellPhone,
        	Insurer: insurer,
        	Insured: insured,
        	InsuranceType: insuranceType,
        	ExpireDate: expireDate,
        	Purpose: purpose,
        	Memo: memo,
        	Description: description,
        	SourceNotecode: sourceNotecode,
        	ReturnURL: returnURL,
        	NotifyURL: notifyURL,
        	CircPaymentNo: circPaymentNo,
        	InsureAreaCode: insureAreaCode,
        	S3Sign: S3Sign,
        	ReqReserved1: reqReserved1,
        	ReqReserved2: reqReserved2,
        	ReqReserved3: reqReserved3,
        	ReqReserved4: reqReserved4,
        	ReqReserved5: reqReserved5
        };
        var myForm = document.createElement("form");
        myForm.method = "post";
        myForm.action = url;
        for (var k in p) {
            var myInput = document.createElement("input");
            myInput.setAttribute("name", k);
            myInput.setAttribute("value", p[k]);
            myForm.appendChild(myInput);
        }
        document.body.appendChild(myForm);
        myForm.submit();
        document.body.removeChild(myForm);
    }
</script>